package cn.com.fattiger.framework.mec.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@Controller
public class FrameController extends BaseController{


    @RequestMapping(value = "center.do", method = RequestMethod.GET)
    public String frameCtl(Integer p, ModelMap map) {
    	log.info(p);
        if (null == p) {
            p = 0;
        }
        map.put("p", p);
        return "center";
    }

    @RequestMapping(value = "menu.do", method = RequestMethod.GET)
    public String center(String target, ModelMap map) {
        return "html/"+target;
    }

}
